package framework.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 错误处理配置
 */
@Data
@Configuration
@ConfigurationProperties(prefix = "sys.error")
public class ErrorConfig {
    /**
     * 错误是否固定以json输出
     */
    private Boolean outputJson = false;
}
